﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ITagRepository.cs" company="">
//   Copyright (c) 2010/2011 All Right Reserved
// </copyright>
// <summary>
//   Contains ITagRepository class declaration.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using System.Collections.Generic;
namespace iBuproModel.Repositories.Interfaces
{
    /// <summary>
    /// Interface for tag repository.
    /// </summary>
    public interface ITagRepository : IGenericRepository<Tag>
    {
        void SaveTagsForProject(string tags, Project project);
        void SaveTagsForProject(string [] tags, Project project);
        void UpdateTagsForProject(string tags, int id);
        void UpdateTagsForProject(string [] tags, int id);
        string GetTagStringForProject(Project project);
        void RemoveTagsForProject(int id);
        string TagsToString(IEnumerable<Tag> tags);
    }
}
